package com.itheima.pattern.proxy.jdk_proxy;

public class Client {
    public static void main(String[] args) {
        ProxyFactory factory = new ProxyFactory();
        SellTickets proxyObject = factory.getProxyObject();
        proxyObject.sell();

        System.out.println(proxyObject.getClass());//class com.sun.proxy.$Proxy0

        while (true){
            //使用arthas-boot.jar
        }
    }
}
